package com.dingreading.cloud.ssxcx.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true) // 确保Lombok在生成equals和hashCode时也考虑父类字段
public class SubjectTreeDto extends SubjectsDto {

    /**
     * 子科目列表
     */
    private List<SubjectTreeDto> children = new ArrayList<>();
}
